package com.ss8;

/**
 * @Auther: 520ljs
 * @Date: 2022/3/11 - 03 - 11 - 9:01
 */
public class Student extends Person{
    double score;

    public Student(){
    /*super()*/
    }

    public Student(double score){
        this.score = score;
    }

    public Student(int age, String name, double score){
        super(age, name);//利用super调用父类构造器
        //this(score);
        //super()
        /*thi.age = age;
        this.name = name;*/
        /*super.age = age;
        super.name = name;*/
        /*this.score = score;*/

    }
}
